<table cellspacing="0" cellpadding="0" summary="编辑个人资料">
  <tbody>
  <tr>
    <th valign="top"><label for="urlavatar">头像<br>
		(&nbsp;150x150&nbsp;像素以内&nbsp;)</label></th>		
    <td><span id="avatarview"><img id="previewimg" width="95px" height=="95px" src= #if($user.avatar)  /upload/avatar/$!{user.avatar}  #else /upload/avatar/sample/unknown.gif  #end><br></span>
		<input  type="text"id="avatar1"  size="25" value="$!user.avatar" disabled="true"> 
		<input type="hidden"  size="25" name="avatar" value="$!user.avatar"> 
		<a href="#" onclick="$('#avatardiv').toggle('slow');return false;">论坛头像列表</a> 
		<div id="avatardiv" style="MARGIN-TOP: 10px; DISPLAY: none">
					<div class="spaceborder" style="CLEAR: both">
		<table style="TABLE-LAYOUT: fixed" cellspacing="1" cellpadding="1" width="100%" align="center">
		<tbody>
		<tr>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/unknown.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/01.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/02.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/03.gif"></td>
		</tr>
		<tr>
			<td align="middle" width="25%">
				<input  type="radio" value="" name="systemavatar" #if($user.avatar) #else checked="checked" #end><strong>None</strong></td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/01.gif" name="systemavatar" #if($user.avatar=="sample/01.gif") checked="checked" #end>01.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/02.gif" name="systemavatar" #if($user.avatar=="sample/02.gif") checked="checked" #end>02.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/03.gif" name="systemavatar" #if($user.avatar=="sample/03.gif") checked="checked" #end>03.gif</td>
		</tr>					
		<tr>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/04.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/05.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/06.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/07.gif"></td>
		</tr>
		<tr>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/04.gif" name="systemavatar" #if($user.avatar=="sample/04.gif") checked="checked" #end>04.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/05.gif" name="systemavatar" #if($user.avatar=="sample/05.gif") checked="checked" #end>05.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/06.gif" name="systemavatar" #if($user.avatar=="sample/06.gif") checked="checked" #end>06.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/07.gif" name="systemavatar" #if($user.avatar=="sample/07.gif") checked="checked" #end>07.gif</td>
		</tr>					
		<tr>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/08.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/09.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/10.gif"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/11.gif"></td>
		</tr>
		<tr>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/08.gif" name="systemavatar" #if($user.avatar=="sample/08.gif") checked="checked" #end>08.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/09.gif" name="systemavatar" #if($user.avatar=="sample/09.gif") checked="checked" #end>09.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/10.gif" name="systemavatar" #if($user.avatar=="sample/10.gif") checked="checked" #end>10.gif</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/11.gif" name="systemavatar" #if($user.avatar=="sample/11.gif") checked="checked" #end>11.gif</td>
		</tr>					
		<tr>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/12.jpg"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/13.jpg"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/14.jpg"></td>
			<td style="BORDER-BOTTOM: medium none" align="middle" width="25%">
				<img src="/upload/avatar/sample/15.jpg"></td>
		</tr>
		<tr>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/12.jpg" name="systemavatar" #if($user.avatar=="sample/12.gif") checked="checked" #end>12.jpg</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/13.jpg" name="systemavatar" #if($user.avatar=="sample/13.gif") checked="checked" #end>13.jpg</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/14.jpg" name="systemavatar" #if($user.avatar=="sample/14.gif") checked="checked" #end>14.jpg</td>
			<td align="middle" width="25%">
				<input  type="radio" value="sample/15.jpg" name="systemavatar" #if($user.avatar=="sample/15.gif") checked="checked" #end>15.jpg</td>
		</tr>					
	</tbody></table></div>
		</div><br>
	  <input type="file" onchange="check(this)" size="60" name="avatarcustom" id="avatarcustom">
	</td></tr>
  <tr>
    <th valign="top"><label for="brief">自我介绍<br>(&nbsp;200 个字以内&nbsp;)</label></th>
    <td>
      <textarea id="brief" style="WIDTH: 393px" name="brief" rows="7">$!user.brief！</textarea> 
    </td></tr>
  <tr>
    <th>&nbsp;</th>
    <td height="30"><button class="submit" name="editsubmit" type="submit">提交</button></td></tr>
	</tbody></table>
	#parse("/post/_dialog.html")
     #includeJs(["ajaxfileupload","userSpace/profile/special"])